package com.zhixiang.xaec.entity.safecheck.safecheckplan;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;
@Entity
@Table(name = "safecheckplan_SafeCheck")
@Comment("安全检查")
public class SafeCheck extends BaseEntity{

	@Comment("检查计划名称")
	@Column(length=200)
	private String checkPlanName;
	
	@Comment("计划描述")
	@Column(length=1000)
	private String describe;
	
	@Comment("计划开始时间")
	@Column(length=200)
	private Date planStartDate;
	

	@Comment("计划结束时间")
	@Column(length=200)
	private Date planEndDate; 
	

	@Comment("检查情况")
	@Column(length=1000)
	private String situation;
    
	@Comment("检查状态")
	@Column(length=200)
	private String state;

	public String getCheckPlanName() {
		return checkPlanName;
	}

	public void setCheckPlanName(String checkPlanName) {
		this.checkPlanName = checkPlanName;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}
   @JSON(format="YYYY-MM-dd")
	public Date getPlanStartDate() {
		return planStartDate;
	}

	public void setPlanStartDate(Date planStartDate) {
		this.planStartDate = planStartDate;
	}
   @JSON(format="YYYY-MM-dd")
	public Date getPlanEndDate() {
		return planEndDate;
	}

	public void setPlanEndDate(Date planEndDate) {
		this.planEndDate = planEndDate;
	}

	public String getSituation() {
		return situation;
	}

	public void setSituation(String situation) {
		this.situation = situation;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	
	
}
